How to Use Apt Get to Install Programs in Ubuntu from the Command Line. Ubuntu has a lot of GUI based methods for installing applications, but they take some time to search and find. Since the keyboard is usually faster than the mouse, managing your software via the command line can be a real time saver. APTLinux manages software through packages, individual units of software that contain user interfaces, modules, and libraries. Most applications link several co dependent packages together, and still others allow you to choose which packages to install and which to leave out at your own discretion. This can get confusing, so theres a package manager at your disposal to help. Antivirus Ubuntu 9.10 Free Download' title='Antivirus Ubuntu 9.10 Free Download' />Antivirus or antivirus software often abbreviated as AV, sometimes known as antimalware software, is computer software used to prevent, detect and remove. Each Linux distribution has its own package management system. For our own near and dear Ubuntu, its the Advanced Packaging Tool. It has a family of commands that allows you to add repositories search for, install, and remove packages and even simulate upgrades and such. The commands are fairly easy to remember and use, so youll be managing your systems software in no time at all APT requires super user permissions, as it deals with core aspects of the system, so in Ubuntu youll need to preface most commands with sudo. Searching for Packages. Universal USB Installer Recent Changelog 092717 Version 1. Update to support PureOS, CentOS Installer, and Ubuntu Mini Netboot Installer. Software Download with no malware or ads. We are a software download site without ads, fake download buttons or crapware. Ubuntu is a community developed, Linuxbased operating system that is perfect for laptops, desktops and servers. It contains all the applications you need a. Ubuntu is an open source software operating system that runs from the desktop, to the cloud, to all your internet connected things. The command to search for software is apt cache search search term 1 search term 2 search term nReplace search terms but dont use brackets. Youll get an output like this You can search for terms in the description of packages, say for a solitaire game, or by package name. Some searches may yield a ton of results, so you can scroll through the list with the following command apt cache search search terms less. Theres a pipe in the middle of that command it shares a key with. The less command will allow you to scroll through your list with the arrow keys, page updown keys, and space, b, and enter. Hit q to exit the list and go back to the prompt. Adding Repositories. You can find more software in repositories found online. Take, for instance, Ubuntu Tweak, a program that lets you change some hidden or otherwise difficult to change settings for your system. Its hosted at another repository. If you add the repository instead of downloading and installing just the package, the system will notify you of updates and automatically keep it up to date for you. You can manually add and change repositories by editing APTs sources file sudo nano etcaptsources. Metal Drum Samples Wav on this page. But Ubuntu 9. 1. 0 Karmic Koala changed that. Theres an easier way Lets look at Ubuntu Tweaks repo to see what itll look like in practice sudo add apt repository ppa tualatrixppa. Voila Updating Sources. After adding repositories, you have to update your package list. That will update the package lists from all repositories in one go. Remember to do this after every added repositoryInstallation. Now that youve added your software repo and updated your package list, and found the package name you need, you can install it. This will download and install all of the packages listed. If there are dependencies other prerequisite packages they will also be installed. Sometimes youll also see a list of recommended but optional packages to go along with your selection. Sometimes, youll also see a confirmation prompt, though not always. Often, youll see a core package with other linked packages, so installing this one will automatically install the dependencies and sometimes its associated packages, too. Removing Packages. If you want to get rid of a program, you can uninstall its associated packages. If you want to get rid of the configuration files and associated directories usually in the users home directory, youll want to add the purge option sudo apt get remove purge package name 1 package name 2 package name nThere are two dashes there. This will come in handy if a program isnt working properly. By purging upon removal, youll can have a clean install. Most of the time, you can just choose the core package and the associated ones will be removed as well. If it doesnt, you can use the following command sudo apt get autoremove. This will automatically remove any packages that arent used or associated with any installed program. For example, if you got rid of a core package, autoremove will get rid of its associated packages and any dependencies it had, so long as no other program is using them. Its a great way to clean up any unused libraries and packages you dont need. Upgrading Software. So, what if your packages need upgrading You can upgrade individual programs with the following command sudo apt get upgrade package name 1 package name 2 package name nOr, you can upgrade all packages by having no further arguments sudo apt get upgrade. This will tell you how many and which packages need updating and will ask for a confirmation before it continues. Remember, you may need to update first. Upgrade will replace older versions of programs with their newer versions. This is a replacement process the same package name is required and the older version is replaced with a newer version. No completely new packages are installed and no packages are uninstalled. Some programs dont quite work that way. They require a package with a slightly different name to be removed and a new one with a different name to be installed. Sometimes a programs new version has a new required package. In these cases, youll need to use dist upgrade. Now, all of the dependencies will be satisfied no matter what. If you arent into micro managing your packages, then this is the command youre going to use. If you only want to see which packages will be upgraded if you were to hypothetically run the command, you can simulate an upgrade with the s option. This is really useful if you arent sure if upgrading one package will mess up other programs, which happens occasionally with things like PHP and mail server libraries. Cleaning. When you download packages, Ubuntu caches them in case it needs to refer to them further. You can delete this cache and get back some hard drive space with the following command sudo apt get clean. If you want to get rid of your cache, but save the newest versions of what packages you have, then use this instead sudo apt get autoclean. This will get rid of the older versions which are pretty much useless, but still leave you with a cache. Checking Whats Installed. You can see a list of all your installed packages with dpkg. You can also use less to scroll through this list. You can also search through the list with the grep command. If something is installed, youll see a package name and a description. You can also search through a more compact method dpkg l search termThat option is a lowercase letter L, and your search term must be inside single quotes. You can use wildcard characters to search better as well. Easter Egg. APT has an interesting easter egg. Enjoy your super cow powers Being able to manage packages and installed software via command line can save you some time. Ubuntus Software Updater is often laggy on my system and it can really be a pain to have to add software repos and install packages through the Software Center, especially if you know the package names already. Its also great for managing your system remotely via SSH. You dont need to have a GUI running at all or deal with VNC.