cross-posted from: https://lemmy.world/post/42285031

I think i understand adding a link to /etc/apt/sources.list so apt knows to check there for packages. What i don’t understand is how to find those links.

For example: i know i want xed, a plain text editor. Wikipedia tells me that’s maintained by Linux Mint, but the Mint website doesn’t, as far as i can tell, have a link to a repository for installing Mint-specific packages in another distro (assuming that’s possible). It doesn’t mention what i might want to put in sources.list.

The same is true of Cinnamon, Mate, Xfce, KDE, and Gnome. If i install Debian and it doesn’t come with one of these listed in the aforementioned file (and it doesn’t), i have no idea how to get packages from that repository unless i can also find a downloadable .deb file and it has no dependencies from unknown repositories, or i download the entire desktop environment i want just a few packages from.

For context: i plan to install Debian without a DE and just get what packages i want from across several DEs. This will be hard to do if there are no software sources for apt.

Is this hard to find because it’s something that people who don’t know what they’re doing shouldn’t mess with? Am i just looking in the wrong places, or for the wrong thing?

One thing i’ve successfully installed with apt (as opposed to a .deb package) is LibreWolf, which i used extrepo for in accordance with the instructions on their website. Should i be using that instead for packages meant for specific desktop environments?

  • bestelbus22@lemmy.world
    link
    fedilink
    arrow-up
    1
    ·
    14 hours ago

    I’m on mint, these are my package mirrors (based in the Netherlands):

    /etc/apt/sources.list.d/official-package-repositories.list
    
    deb https://mirrors.evoluso.com/linuxmint-packages/linuxmint-packages zara main upstream import backport 
    
    deb http://ftp.snt.utwente.nl/pub/os/linux/ubuntu noble main restricted universe multiverse
    deb http://ftp.snt.utwente.nl/pub/os/linux/ubuntu noble-updates main restricted universe multiverse
    deb http://ftp.snt.utwente.nl/pub/os/linux/ubuntu noble-backports main restricted universe multiverse
    
    deb http://security.ubuntu.com/ubuntu/ noble-security main restricted universe multiverse
    

    afaik there’s no public list of package mirrors

    • boredsquirrel (he)@slrpnk.net
      link
      fedilink
      arrow-up
      6
      ·
      14 hours ago

      Careful with this!

      You need to change the repo priorieties to REALLY low, otherwise your system may downgrade packages and stupid shit like that.

      Trust me, I extracted PopOS repos from ubuntu noble based PopOS and installed cosmic apps on debian. It worked, until it started messing up my system.

      Use nix, it is way cleaner. On Debian I basically use nix for everything because many packages are missing or outdated.