Installing Software on Command Line
-
2. Installing Software on Terminal
To Search & Install Packages on Terminal
First, you can use the default Apt Package Manager
Now to Search for Packages with Keyword use:sudo apt search [myKeyword]
Replace “[myKeyword]” with your searching Keyword in the above.
Use the “–help” flag to show up the available Commands.
And in older releases “apt search” is replaced by “apt-cache”.And then to Install a Debian Package play:
sudo apt install [myPackage]
As a replacement working also on older Releases you can use the “apt-get” Tool.
Authenticate with the User Admin Pass.
If Got “User is Not in Sudoers file” then see: How to Enable sudo.
As an advanced Alternative you may use the Aptitude Software!
To Install it play:sudo apt install aptitude
Then you can use it with a similar Syntax as for apt…
So to get Help symply:aptitude --help
Contents