How to install a Debian *.deb file on Ubuntu and other useful Linux tips.

Posted: March 1, 2013. At: 3:31 PM. This was 4 years ago. Post ID: 5416

To install a Debian *.deb packages that you have downloaded, use this command.

[email protected] ~/Downloads $ sudo dpkg -i rxvt_2.6.4-14_i386.deb

This will install the Debian package.

[email protected] ~/Downloads $ sudo dpkg -i rxvt_2.6.4-14_i386.deb 
[sudo] password for john: 
Selecting previously unselected package rxvt.
(Reading database ... 281734 files and directories currently installed.)
Unpacking rxvt (from rxvt_2.6.4-14_i386.deb) ...
Setting up rxvt (1:2.6.4-14) ...
update-alternatives: using /usr/bin/rxvt-xterm to provide /usr/bin/rxvt (rxvt) in auto mode
update-alternatives: error: no alternatives for rclock
Processing triggers for man-db ...
Processing triggers for menu ...

If this is successful then your application will be ready to run.

The rxvt terminal emulator running on Linux Mint.
The rxvt terminal emulator running on Linux Mint.

How to set a password for the root account on Ubuntu and Linux Mint using the shell. This is very easy using the sudo passwd root command to give the locked root account a password; this makes it available for use. You may type sudo passwd -l root to lock the account if you wish.

Setting the password for the root account.
Setting the password for the root account.

Using sudo is arguably more secure than enabling the root account. People are divided on this subject; Linux is more secure than Windows, the UNIX way of giving permissions to run executables like ls and requiring the superuser privileges to run other commands like fdisk that live in /sbin make a typical Linux system very secure indeed. As long as you have a secure password your system should be very safe from attack.

To install all of the pending updates for your system; use this command.

Using apt-get update to update repository info.
Using apt-get update to update repository info.

Then; once the apt-get update command has completed; you may begin installing updates.

Running apt-get upgrade to update a Linux system.
Running apt-get upgrade to update a Linux system.

The Linux shell has many features that make it a good choice for use as your day to day shell. For one, you have many variants of the shell to choose from such as the default sh and bash shells; the zsh shell as well as the older tcsh and csh shells. Ksh is also available. I recommend either the bash shell or zsh for daily use. Those two shells are the easiest to use.

No comments have been made. Use this form to start the conversation :)

Leave a Reply