Results 1 to 5 of 5

Thread: What I just learned about installing packages

  1. #1
    Join Date
    Jan 2008
    Location
    Davison, Michigan, U.S.A.
    Beans
    1,196

    What I just learned about installing packages

    I'm not a newie but I'm always learning. Might be nothing new to you but its an eye opener to me. I found that to install a .deb package all I need to do is download it and the run apt install command, Bing, bang simple. So I guess all that the package installer does is to run the same command, right? Now if I could find a similar magic bullet for installing rpms I would be one of those rocket scientists.

  2. #2
    Join Date
    Jul 2008
    Location
    The Left Coast of the USA
    Beans
    Hidden!
    Distro
    Kubuntu

    Re: What I just learned about installing packages

    Not a support request. Moved to Ubuntu, Linux and OS Chat.
    Please read The Forum Rules and The Forum Posting Guidelines

    A thing discovered and kept to oneself must be discovered time and again by others. A thing discovered and shared with others need be discovered only the once.
    This universe is crazy. I'm going back to my own.

  3. #3
    Join Date
    Nov 2007
    Location
    London, England
    Beans
    7,699

    Re: What I just learned about installing packages

    RPMs are for Red Hat, and their package system is yum. "sudo yum install cool-package".
    Installing RPM packages on Ubuntu is not quite so easy - there is a possibility of incompatibilities, but there is a utility to convert RPM to DEB - it's called alien. I only ever used it once, some years ago so I don't remember the fine detail, but it did the trick for me.

  4. #4
    Join Date
    Oct 2021
    Beans
    3

    Re: What I just learned about installing packages

    I first learned this trick in Debian. I was in a hot mess with dependencies with dpkg -i instead of sudo apt install ./package.deb.

  5. #5
    Join Date
    Aug 2013
    Beans
    4,941

    Re: What I just learned about installing packages

    Actually all you need to do is to right click it. The softwarestore will open and install it. It will pull in the dependencies. Or you can install gdebi. It does the same.

    For rpm if you are on Fedora (yum is deprecated)
    Code:
    sudo dnf install ./xxx.rpm
    As said above, you can install .rpm packages on Debian based distros like Ubuntu with alien, but it doesn't always work, depends on the package you try to install. alien also works in reverse, it lets you install .deb packages on rpm based OSes. I used it for something years ago. On Ubuntu it creates a .deb file then you have to install either via apt, dpkg or by right click. On Fedora it converts the deb to rpm and automatically installs it as well. There may be some settings or options one could play with, but I didn't bother.
    Last edited by monkeybrain20122; October 31st, 2021 at 11:31 PM.

Bookmarks

Posting Permissions

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