Results 1 to 9 of 9

Thread: How do I install .deb files?

Hybrid View

  1. #1
    Junior Member registered user
    Join Date
    Nov 2004
    Posts
    13

    How do I install .deb files?

    I'm having a hard time understand how to install these files, i tried dpkg and it says im not a super user, but when I type whoami it says root.

  2. #2
    Senior Member registered user
    Join Date
    May 2003
    Posts
    981
    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.

  3. #3
    Junior Member registered user
    Join Date
    Nov 2004
    Posts
    13
    I'm having a hard time finding Kpackage and Dselect, can you direct me to a site to download them?

  4. #4
    Senior Member registered user
    Join Date
    May 2003
    Posts
    981
    Quote Originally Posted by williamb
    I'm having a hard time finding Kpackage and Dselect, can you direct me to a site to download them?
    Kpackage should be on your start menu under 'System'. 'dselect' (small letters...linux is case sensitive) is run from a terminal shell. Click the TV screen icon on the bottom panel to get to a terminal. Then first type 'su' to become root then 'dselect update' to update your sources list. You must do this before you can install any programs from any package manager.
    You can also do the update from Kpackage, it has a comaand under the menu item 'special->Debian'. If you do this make sure you click 'update' not 'upgrade', 'upgrade' will probably trash your system.

  5. #5
    Junior Member registered user
    Join Date
    Nov 2004
    Posts
    13
    Oh, I guess you can only install them if you did an HDD install. Nevermind.

  6. #6
    Senior Member registered user
    Join Date
    May 2003
    Posts
    981
    If you are not HD installed you must make a persistent home and use 'klik' to install programs.

  7. #7
    Junior Member registered user
    Join Date
    Nov 2004
    Posts
    13
    Yes but as you know Klik doesn't have everything

  8. #8
    Senior Member registered user
    Join Date
    Feb 2003
    Location
    Germany
    Posts
    1,159
    but we're working on it
    What packages do you need? Please drop me a line and I'll try.

    probono

  9. #9
    Senior Member registered user
    Join Date
    Feb 2004
    Posts
    949
    Quote Originally Posted by probono
    but we're working on it
    What packages do you need? Please drop me a line and I'll try.

    probono
    Don't make this top priority or anything, but I think something like qdvdauthor would be nice, Its a GUI to dvdauthor and allow creation of menus, adding subtitles, chapters, etc.

    It would be nice if I could get it working on knoppix.

    Of course if we get this we also need to some video conversion software.

    Again, this isn't really important.

Similar Threads

  1. Grub files are not installed after remastered 4.0.2 install
    By tr in forum Customising & Remastering
    Replies: 0
    Last Post: 10-03-2005, 08:50 AM
  2. how to install knoppix to cd to help rescure files
    By dominican2589 in forum General Support
    Replies: 6
    Last Post: 06-10-2005, 03:27 PM
  3. Knoppix 3.8.1 HDD Install - Where are the Linux source files
    By Ranger24 in forum Hdd Install / Debian / Apt
    Replies: 0
    Last Post: 05-21-2005, 03:26 PM
  4. adding files to cd to install without recompiling
    By sennachie in forum Customising & Remastering
    Replies: 0
    Last Post: 04-06-2005, 09:24 AM
  5. install freezes at copying files
    By konfused in forum Hdd Install / Debian / Apt
    Replies: 2
    Last Post: 05-05-2004, 09:28 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Seagate ST1000VM002 1TB 5900RPM 3.5

Seagate ST1000VM002 1TB 5900RPM 3.5" SATA 6GB/s HDD Video Hard Drive PC DVR

$24.99



apple 2024 macbook pro 14-inch m4 ''Rеаd dеѕсriрtiоn'' picture

apple 2024 macbook pro 14-inch m4 ''Rеаd dеѕсriрtiоn''

$990.00



Samsung T7 Shield 1TB Portable External SSD USB 3.2 Black MU-PE1T0S NEW SEALED picture

Samsung T7 Shield 1TB Portable External SSD USB 3.2 Black MU-PE1T0S NEW SEALED

$219.99



Samsung T9 1TB External Portable SSD MU-PG1T0B -2000MB/s - Black picture

Samsung T9 1TB External Portable SSD MU-PG1T0B -2000MB/s - Black

$179.00



Acer Aspire 14

Acer Aspire 14" AI Copilot+PC Laptop Core Ultra 5 226V Gen 4 ARC 16GB 1TB Refurb

$438.51



Acer Aspire 16 16

Acer Aspire 16 16" Laptop Core Ultra 5 226V S2 16GB RAM 1TB SSD Arc Refurbished

$533.51



Netac 2TB 1TB 500GB Internal SSD M.2 NVMe PCIe3.0 Solid State Drive lot picture

Netac 2TB 1TB 500GB Internal SSD M.2 NVMe PCIe3.0 Solid State Drive lot

$129.99



1TB Kingston DataTraveler Max DTMAX/1TB USB Type-C Flash Drive picture

1TB Kingston DataTraveler Max DTMAX/1TB USB Type-C Flash Drive

$86.95



Dell Latitude 14

Dell Latitude 14" Laptop Computer Intel i5 Up To 32GB RAM 1TB SSD Windows 11 Pro

$394.17



Dell Latitude 14

Dell Latitude 14" Laptop Computer Intel i7 Up To 32GB RAM 1TB SSD Windows 11 Pro

$429.73