LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-29-2018, 01:26 AM   #1
ddenial
Member
 
Registered: Dec 2016
Distribution: CentOS, Fedora, Ubuntu
Posts: 193

Rep: Reputation: 35
How to find out Package system of a distro?


Hi

I'm wondering how to find out what package system the distro is using. Usually, I figure it out by just typing dpkg/rpm in the terminal. The one that doesn't get an error is the package system.

Recently I installed Qute: Command Console & Terminal Emulator, and wanted to install vim in it. But couldn't figure it out its package system.

So the question is - for ANY distro, how to find its package system in terminal?

Thanks
 
Old 11-29-2018, 01:29 AM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 18,143

Rep: Reputation: 2935Reputation: 2935Reputation: 2935Reputation: 2935Reputation: 2935Reputation: 2935Reputation: 2935Reputation: 2935Reputation: 2935Reputation: 2935Reputation: 2935
I use distrowatch.com for any distro I don't know. Very handy.

EDIT: erk - Android emulator. That ain't a distro in my usage ...

Last edited by syg00; 11-29-2018 at 01:31 AM.
 
Old 11-29-2018, 01:38 AM   #3
ddenial
Member
 
Registered: Dec 2016
Distribution: CentOS, Fedora, Ubuntu
Posts: 193

Original Poster
Rep: Reputation: 35
Quote:
Originally Posted by syg00 View Post
I use distrowatch.com for any distro I don't know. Very handy.

EDIT: erk - Android emulator. That ain't a distro in my usage ...
OK, fine it's not a distro - correction. But you have a terminal emulator to work on and you want to install some packages like vim and it's not available in distrowatch.org. Then how figure it out?
 
Old 11-29-2018, 03:21 AM   #4
mrmazda
Senior Member
 
Registered: Aug 2016
Location: USA
Distribution: openSUSE, Debian, Knoppix, Mageia, Fedora, others
Posts: 1,785

Rep: Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548
Quote:
Originally Posted by ddenial View Post
But you have a terminal emulator to work on and you want to install some packages like vim and it's not available in distrowatch.org. Then how figure it out?
The distro's web site should have at least a clue how to find out, maybe a forum, mailing list and/or IRC channel; sourceforge maybe as well.

BTW, dpkg (debian: apt*) and rpm (yum/dnf/zypper/urpmi) are not the only FOSS package management systems. Others I'm aware of include txz, pacman, portage and opkg.
 
Old 11-29-2018, 04:16 AM   #5
lougavulin
Member
 
Registered: Jul 2018
Distribution: Slackware,x86_64,current
Posts: 262

Rep: Reputation: 94
distrowatch.org provides a list of linux/BSD distributions. And for each system gives a list of what software (and their version) is provided by the distro.
But for distrowatch Android is NOT a linux distribution.

To find vim or any other "packages" for Android, you have to look for into apps stores, like Play (Google), Galaxy App (Samsung) or F-Droid (open source apps) or any other out there.

And as Android only use the linux kernel, you will not find every linux "packages" for it. And you will most probably find a vim-like portage for Android, but not the real Vim.
 
Old 11-29-2018, 04:43 AM   #6
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 3,935
Blog Entries: 1

Rep: Reputation: 832Reputation: 832Reputation: 832Reputation: 832Reputation: 832Reputation: 832Reputation: 832
./configure
make
make install

The universal packaging system. Although not really packages, and lots of exceptions to the old ways.

For the most part you just have to "know", which is likely one more click past the one you used to download the iso in the first place. I'm partial to debian based (.deb) distros as apt-file, apt-cache, and friends are quite useful for learning about packages without having to use google. Some alternatives if you "know" the distros system well like pkgfile, pacinfo, and such. But I always find the non-.deb alternatives a bit lacking and cryptic. Some of that is just choice and availability. Like being able to choose dhclient or dhcpcd, not being locked into only ONE of the options.

As far as linux systems go, linux standard base was a good start for figuring out foreign turf. But mostly you just have to "know". But that goes with most operating systems. Knowing how to browse the file system helps if you really don't have a clue.

C:\> dir C:\ /w
$ ls /var/cache/
$ cat /etc/issue
$ uname -r
$ lsb_release -a
 
1 members found this post helpful.
Old 11-29-2018, 05:27 AM   #7
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 19.1 MATE
Posts: 8,016
Blog Entries: 5

Rep: Reputation: 2861Reputation: 2861Reputation: 2861Reputation: 2861Reputation: 2861Reputation: 2861Reputation: 2861Reputation: 2861Reputation: 2861Reputation: 2861Reputation: 2861
Just a note that if you're looking for any alternatives to Qute, Termux (https://termux.com/) is a nice terminal emulator for Android. You can use apt on it (https://wiki.termux.com/wiki/Package_Management) and a quick apt list vim on my phone indicates that vim is available for install.
 
1 members found this post helpful.
Old 11-29-2018, 11:07 AM   #8
ddenial
Member
 
Registered: Dec 2016
Distribution: CentOS, Fedora, Ubuntu
Posts: 193

Original Poster
Rep: Reputation: 35
Quote:
Originally Posted by hydrurga View Post
Just a note that if you're looking for any alternatives to Qute, Termux (https://termux.com/) is a nice terminal emulator for Android. You can use apt on it (https://wiki.termux.com/wiki/Package_Management) and a quick apt list vim on my phone indicates that vim is available for install.
Just did that. Termux is a great terminal emulator in Android phone. I also installed vim in Termux. Works great. I wanted the terminal emulator to access man pages and vim help pages when I don't have access to any Linux box.

Thanks.
 
Old 11-29-2018, 11:14 AM   #9
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 19.1 MATE
Posts: 8,016
Blog Entries: 5

Rep: Reputation: 2861Reputation: 2861Reputation: 2861Reputation: 2861Reputation: 2861Reputation: 2861Reputation: 2861Reputation: 2861Reputation: 2861Reputation: 2861Reputation: 2861
Quote:
Originally Posted by ddenial View Post
Just did that. Termux is a great terminal emulator in Android phone. I also installed vim in Termux. Works great. I wanted the terminal emulator to access man pages and vim help pages when I don't have access to any Linux box.

Thanks.
My pleasure, ddenial. Good that it hits the mark!
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] No package 'x11' found No package 'xext' found No package 'xdamage' found No package 'xfixes' found No package 'x11-xcb' found Jigsaw Linux From Scratch 12 04-25-2019 07:33 AM
Can't find or use installed package via Synaptic Package Manager. SH1938 Linux - Software 1 09-02-2012 05:13 PM
linux-headers package on a VPS? (Couldn't find package) FEL Linux - Newbie 8 04-06-2009 11:45 AM
How to find out if my system is i386, i486, or i586? Is there a system info command? mlsbraves Linux - General 6 02-17-2009 04:08 PM
Java can't find package, but PATH set correctly (j2se1.4.0, java.util.regex package) Ethan Programming 5 02-06-2004 09:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:08 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration