Need to install Apt package

Post here if you are a new Porteus member and you're looking for some help.
commanderklag
White ninja
White ninja
Posts: 4
Joined: 20 Jan 2019, 03:52
Distribution: 4.0

Need to install Apt package

Post#1 by commanderklag » 20 Jan 2019, 04:10

Porteus 4.0 seems to be everything I've dreamed of in a linux distro for, except ...

I need to install some common linux software, for example vim, and gcc.

I normally would do this ...
$ sudo apt-get install vim

However, it's not available.
QUESTION:

How do I install a software package on Proteus MATE 4.0 ?

Thanks,

User avatar
ncmprhnsbl
DEV Team
DEV Team
Posts: 3925
Joined: 20 Mar 2012, 03:42
Distribution: v5.0-64bit
Location: australia
Contact:

Re: Need to install Apt package

Post#2 by ncmprhnsbl » 20 Jan 2019, 05:26

welcome to porteus :)
apt-get is a debian command, porteus is based on slackware.
porteus has it's own package manager: usm (also with a gui in the System menu)
so, if you prefer the commandline: (as root(su) or sudo)
update the databases:

Code: Select all

usm -u all
search for a package:

Code: Select all

usm -s vim
download a package:

Code: Select all

usm -g vim
for more:

Code: Select all

usm -h
Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44

commanderklag
White ninja
White ninja
Posts: 4
Joined: 20 Jan 2019, 03:52
Distribution: 4.0

Re: Need to install Apt package

Post#3 by commanderklag » 20 Jan 2019, 20:06

Thanks for the help,
Are there any validated procedures, in the correct execution sequence for installing gcc and or g++ ?
I need to install gcc/g++. Understand an in-accurate attempt can destroy the Proteus install.

I've tried using usm, install, installpkg etc.

The issue is the headers are not placed in the correct location after doing a
usm -s gcc, and then downloading and installing gcc-5.3.0-x86_64-3.txz. Some headers seem to be missing as well.
I need to be able to compile my research programs for school.

Thanks again,

User avatar
ncmprhnsbl
DEV Team
DEV Team
Posts: 3925
Joined: 20 Mar 2012, 03:42
Distribution: v5.0-64bit
Location: australia
Contact:

Re: Need to install Apt package

Post#4 by ncmprhnsbl » 20 Jan 2019, 20:37

ok, what you need is the development module(005-devel.xzm) from here: http://dl.porteus.org/x86_64/current/ke ... -devel.xzm (if you are on 64 bit?)
it contains gcc/gcc-g++, all the headers, and other compilation tools.
place it in /mnt/<install media>/porteus/optional and activate it when you need to (click it in the filemanager)

btw, it's almost impossible to destroy porteus, but you can mess up your changes dir/file..
Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44

commanderklag
White ninja
White ninja
Posts: 4
Joined: 20 Jan 2019, 03:52
Distribution: 4.0

Re: Need to install Apt package

Post#5 by commanderklag » 21 Jan 2019, 18:12

Excellent ! Thank you,

I'm really impressed with the Proteus 4.0 distribution, It's very fast, lightweight, yet I can add the software I need.

So far, this seems to be the best Linux distribution I've tried. And I've tried a bunch ! I think it's gonna save me allot of work !

Good job ! and thanks again.

-Commanderklag
:Yahoo!:

User avatar
francois
Contributor
Contributor
Posts: 6434
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus nemesis
Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.

Re: Need to install Apt package

Post#6 by francois » 21 Jan 2019, 23:41

Ah! At last a refined user. A connaisseur.

Welcome to porteus community. :)
Prendre son temps, profiter de celui qui passe.

Post Reply