update /etc/apt/sources.list with the repo path specified on the top according to the release you are using (savir/tejas)
You can install the package needed in two ways ..
1. Using Graphical Front End - Synaptic
Desktop --> Administration --> Synaptic Package Manager
Check the Packages which you want to install and click on Apply button to install those packages.
2. Using apt tool
apt is an Advanced Packaging Tool. APT is a management system for software packages.
After updating sources.list, do
$ apt-get update --> This will scan the repository mentioned in sources.list
$ apt-get install package-name --> Install the package you want.Replace package-name with the actual name of
the package.
Getting the source Package:
$ apt-get -d source source-package-name
Searching the Package existence in the repository
$ apt-cache search package-name
Removing the installed pacakge in the system
$ apt-get remove package-name
Installing Downloaded Packages
Sometimes you might want to install a package which you have downloaded from a website, rather than from a software repository.These packages are called .deb files.Because they may have been created for a different Linux distribution, they may have unmet dependencies on BOSS and so may not be installable.
Using dpkg to install packages
dpkg is a command-line tool used to install packages. To install a package with dpkg, open a Terminal and type the following:
$ cd directory
$ sudo dpkg -i package_name.deb
Note: replace directory with the directory in which the package is stored and package_name with the filename of the package.
It is recommended that you read the dpkg manual page before using dpkg, as improper use may break the package management database. To view the manual page for dpkg, open a Terminal and type man dpkg.
No comments:
Post a Comment