-
Senior Member
registered user
Here's a brief overview of installing packages in a Debian based system:
Actual package installation is done by dpkg. This is a text based application. For an already downloaded package you could do 'dpkg -i <path & package name>. But this may fail because there may be dependencies which dpkg does not know how to find and has not been told to install.
So the next level is apt-get which will search the net for the packages it needs (including dependency packages), download and install them. It uses dpkg to do the actual install and maintains a file called /etc/apt/sources.list to know where to search for packages. This file must be updated regularly as packages get moved around in the internet repositories. This is done with the command 'apt-get update'.
But to use apt-get you must know what packages are available, so you will need a 'package browser list.
The most basic of these is dselect, which is text based and not overly user friendly. It also maintains a package available database file which must be updated regularly with 'dselect update'. I've been told that dselect update will update both the dselect database and the apt-get sources.list so it is preferable to use this instead of the 'apt-get update' command which only updates sources.list.
More user friendly alternatives for seaching for packages are the gui based applications Kpackage and Synaptic. Both of these provide information on the packages available and can download and install the package.
Dselect, Kpackage and Synaptic all use apt-get to do the actual downloading & installing.
Debian based systems must use either Debian packages or applications compiled from source. To install an RPM package, first convert it to a .deb using 'alien'.
ie: alien -d <rpm packagename>
So, for an already download package, you can try dpkg -i <package> but be prepared for dependency problems which you will have to solve yourself by manually tacking down and installing any required dependencies.
Better way is to use apt-get & let it redo the download:
First, you must become 'root'. Permissions are a big thing in Linux, only root (administrator level permissions) is allowed to install things. So, type 'su' to become root. Then do 'dselect update'. Usually the first time it is run it will need to download quite a bit & some of the downloads may fail. If this happens, just run the command again, eventually it will get all the data it needs.
then 'apt-get install <package>'. It should download the application & all required dependencies & install the application.
Selecting <package> from Kpackage & following the install procedure (check mark & install marked, etc) should do the same thing. But you do have to 'dselect update' first. Kpackage is going to ask you for a root password so you will have to set one before you run it. Open a terminal & type 'sudo passwd', then enter your new root password.
For more detailed information on the commands avaiable for apt-get & dpkg type 'man apt-get' or 'man dpkg' to view the manual pages. Also see the apt-get/dpkg tutorial post in the HDD install section of this forum.
Similar Threads
-
By mwagz in forum General Support
Replies: 1
Last Post: 01-24-2007, 01:22 PM
-
By Bothersome in forum Hdd Install / Debian / Apt
Replies: 1
Last Post: 05-13-2006, 10:00 AM
-
By lanmanck in forum Hdd Install / Debian / Apt
Replies: 1
Last Post: 08-05-2005, 06:52 AM
-
By Mokoshi in forum General Support
Replies: 2
Last Post: 09-17-2003, 01:12 PM
-
By Peterobe in forum General Support
Replies: 0
Last Post: 07-10-2003, 02:33 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules

New Barebones Supermicro 5019D Server, 4C/8T Xeon D-2123T, 1U Rackmountable, 10G
$449.99

HP ProLiant MicroServer Gen8 G1610T @2.3 GHz, 16GB, 712317-001 NO HDD/OS
$199.00

Supermicro CSE-937 3U Storage Chassis No CPU No HDD No Ram Tested & Reset
$129.99

Nasuni NF-50 Supermicro Server, Atom CPU C2558, @ 2.40GHz, 8GB RAM-No HDD/OS/AC
$250.00

SuperMicro 4U CSE 847 36 Bay LFF Barebone 2x 1280W w/ 2x Bays 2.5 Rear w/Trays
$499.99

Supermicro 2U X10DRU-i 2x E5-2680 v3 2.5ghz 32gb Ram 240gb SSD 2x GPU *READ*
$369.99

1U Edge Firewall Server X11SCW-F Xeon E-2174G 0 RAM M.2 NVME 3x PCI-e 2x PSU X
$175.00

Supermicro 1027GR-TSF 1U Rackmount Server 2x Xeon 2.3GHz 128GB DDR3
$219.99

Supermicro 505-2 Server
$280.00

Supermicro 1U Network Server Appliance 16GB RAM 800GB SSD 6 LAN Ports Powers On
$450.00