Installing software

Post here if you are a new Porteus member and you're looking for some help.
linuxtothebone
Black ninja
Black ninja
Posts: 36
Joined: 17 Dec 2014, 00:25
Distribution: mint, porteus
Location: newzealand

Installing software

Post#1 by linuxtothebone » 17 Dec 2014, 06:18

Hi there, I use linux mint so its pretty retard friendly. I dont know how to successfully install new packages into porteus.

I used the built in package manager and downloaded the packages then couldnt find where they downloaded to, then did under the root account, then right clicked to install which it said it did, then couldnt find them in the menu, they were the packages you get when a search for games is entered.

Have I done something wrong?

thanks

Bogomips
Full of knowledge
Full of knowledge
Posts: 2522
Joined: 25 Jun 2014, 15:21
Distribution: 3.2.2 Cinnamon & KDE5
Location: London

Re: Installing software

Post#2 by Bogomips » 17 Dec 2014, 22:48

Try RUN (Alt+F2): <program name>
Linux porteus 4.4.0-porteus #3 SMP PREEMPT Sat Jan 23 07:01:55 UTC 2016 i686 AMD Sempron(tm) 140 Processor AuthenticAMD GNU/Linux
NVIDIA Corporation C61 [GeForce 6150SE nForce 430] (rev a2) MemTotal: 901760 kB MemFree: 66752 kB

User avatar
brokenman
Site Admin
Site Admin
Posts: 5436
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v3.2rcX all desktops
Location: Brazil
Contact:

Re: Installing software

Post#3 by brokenman » 18 Dec 2014, 02:07

I dont know how to successfully install new packages into porteus.
The easiest way is to open a terminal and elevate to root by typing: su (password is toor)

Update the database by typing: usm u all
Then you can type: usm -g vlc

This will search for and collect all the required dependencies for vlc. One of the questions you are asked during the process is if you want to install them.
If you answer yes then at the end you will be asked to press enter to install them to the system. The default location for packages that are downloaded is in: /tmp/usm

For more help type: usm -h or man usm
How do i become super user?
Wear your underpants on the outside and put on a cape.

linuxtothebone
Black ninja
Black ninja
Posts: 36
Joined: 17 Dec 2014, 00:25
Distribution: mint, porteus
Location: newzealand

Re: Installing software

Post#4 by linuxtothebone » 19 Dec 2014, 09:58

Thanks for your help.

I used Usm and am pretty sure I chose the option to install them but they did not show up in the menu at all. It was then I tracked down the downloaded packages and right clicked to use the install option offered. it did this but still nothing showed up in any of the menus. I thought that a games section would be added but it wasnt, just all the usual internet, office, graphics etc were there.

Look forward to hearing back :)

User avatar
francois
Contributor
Contributor
Posts: 4901
Joined: 28 Dec 2010, 14:25
Distribution: kde xfce porteus manjaro kubun
Location: Enfin l'été, le changement climatique attendu: le soleil.

Re: Installing software

Post#5 by francois » 19 Dec 2014, 12:50

After being downloaded the packages will be found into the /tmp/usm folder. You have to choose the option transform txz packages into xzm, to get compatible modules with porteus. Then the modules have to be activated before you can see them into the menu. To activate them you have to double click on each package or library, or move the xzm modules into the /porteus/modules folder and reboot.
Voltaire: Le mieux est l'ennemi du bien.

linuxtothebone
Black ninja
Black ninja
Posts: 36
Joined: 17 Dec 2014, 00:25
Distribution: mint, porteus
Location: newzealand

Re: Installing software

Post#6 by linuxtothebone » 20 Dec 2014, 11:43

thankyou

I have successfully converted the file to xzm and double clicked it and it said it was activated but there was still no package in the menu even after a reboot?

Also I dont know how to copy to /porteus/modules because I cannot find this folder in the filesystem I can only see it when I boot into linux mint and plug in the usb stick but when I do this I cannot find the xzm module that I converted?

thank you

User avatar
francois
Contributor
Contributor
Posts: 4901
Joined: 28 Dec 2010, 14:25
Distribution: kde xfce porteus manjaro kubun
Location: Enfin l'été, le changement climatique attendu: le soleil.

Re: Installing software

Post#7 by francois » 20 Dec 2014, 15:31

Once you will understand the structure, you will find it very simple.

Please tell us where you have installed porteus: on usb key or on hdd? The /porteus/modules folder should be on /mnt/sdxy where x is a, b, c ... and y 1, 2, 3 ... .
In terminal, use the fdisk -l to get to know which partition you have for the hdd and usb.

Thanks.
Voltaire: Le mieux est l'ennemi du bien.

User avatar
Ed_P
Contributor
Contributor
Posts: 3057
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 3.2.2 64-bit ISO
Location: Western NY, USA

Re: Installing software

Post#8 by Ed_P » 20 Dec 2014, 21:27

francois wrote:In terminal, use the fdisk -l to get to know which partition you have for the hdd and usb.
That's quite a command. I find I have to be in root mode to run it though.
Ed

Bogomips
Full of knowledge
Full of knowledge
Posts: 2522
Joined: 25 Jun 2014, 15:21
Distribution: 3.2.2 Cinnamon & KDE5
Location: London

Re: Installing software

Post#9 by Bogomips » 20 Dec 2014, 21:52

Code: Select all

guest@porteus:~$ /sbin/fdisk -l

Disk /dev/sda: 250.1 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders, total 488397168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
etc.
Linux porteus 4.4.0-porteus #3 SMP PREEMPT Sat Jan 23 07:01:55 UTC 2016 i686 AMD Sempron(tm) 140 Processor AuthenticAMD GNU/Linux
NVIDIA Corporation C61 [GeForce 6150SE nForce 430] (rev a2) MemTotal: 901760 kB MemFree: 66752 kB

linuxtothebone
Black ninja
Black ninja
Posts: 36
Joined: 17 Dec 2014, 00:25
Distribution: mint, porteus
Location: newzealand

Re: Installing software

Post#10 by linuxtothebone » 21 Dec 2014, 02:30

I have installed into sdb1 its a usb stick

I cannot find the portues/modules folder in my system can someone tell me where it is...

Or can someone tell me the process they use to install software into porteus.

Thanks

User avatar
francois
Contributor
Contributor
Posts: 4901
Joined: 28 Dec 2010, 14:25
Distribution: kde xfce porteus manjaro kubun
Location: Enfin l'été, le changement climatique attendu: le soleil.

Re: Installing software

Post#11 by francois » 21 Dec 2014, 03:50

Please give the output of the command fdisk -l. In my case I get:

Code: Select all

guest@porteus:/$ su
Password: 
root@porteus:/# 
 fdisk -l

Disk /dev/sda: 128.0 GB, 128035676160 bytes
255 heads, 63 sectors/track, 15566 cylinders, total 250069680 sectors
...
   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *        2048     3074047     1536000   82  Linux swap
/dev/sda2         3074048    97843579    47384766   83  Linux
/dev/sda3        97845246   250068991    76111873    5  Extended
...
   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1            2048    15663103     7830528   83  Linux
root@porteus:/# 
 
Here /dev/sdb1 is the usb. What is yours? On my usb key the porteus folder is located at /mnt/sdb1/porteus.

Do you get it? :)
Voltaire: Le mieux est l'ennemi du bien.

linuxtothebone
Black ninja
Black ninja
Posts: 36
Joined: 17 Dec 2014, 00:25
Distribution: mint, porteus
Location: newzealand

Re: Installing software

Post#12 by linuxtothebone » 21 Dec 2014, 10:55

Gee this is becoming really arduous. All I want to do is install more software...

I have located the folder mount/porteus/modules successfully thanks for the help

I have copied the xzm file into this folder and rebooted the computer but still there is no xgames option in the menu anywhere, if I double click it to "activate" it I get a pop up that says its already active would I like to de-activate it.

Maybe there is something to do with the package I have downloaded "xgames-0.3-x86_64-4.xzm" and I am trying to access it in the wrong way? I was experimenting with installing as I want to use thunderbird. if I can create the same desktop that I use in linux mint then I can kiss it goodbye and use this awesome system all the time instead.

thanks everyone for your time and help. I am getting frustrated. lol. but I will stick with it because I really want to master this operating system. I guess this all goes towards the refining process somehow so that the distro can mature.


thanks again everyone, below is the output of fdisk -l if that is still relevant.(sorry I dont know how to put the output into an embedded form with a scroll bar)

guest@porteus:~$ su
Password:
root@porteus:/home/guest# fdisk -l

Disk /dev/sda: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders, total 625142448 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x2bd2c32a

Device Boot Start End Blocks Id System
/dev/sda1 * 2048 976657 487305 83 Linux
/dev/sda2 978942 625139711 312080385 5 Extended
/dev/sda5 978944 10741759 4881408 82 Linux swap
/dev/sda6 10743808 30273535 9764864 83 Linux
/dev/sda7 30275584 625139711 297432064 83 Linux

Disk /dev/sdb: 16.0 GB, 16008609792 bytes
255 heads, 63 sectors/track, 1946 cylinders, total 31266816 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Device Boot Start End Blocks Id System
/dev/sdb1 * 32 31266815 15633392 c W95 FAT32 (LBA)
root@porteus:/home/guest#

User avatar
brokenman
Site Admin
Site Admin
Posts: 5436
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v3.2rcX all desktops
Location: Brazil
Contact:

Re: Installing software

Post#13 by brokenman » 21 Dec 2014, 12:28

Everything you are doing is correct. It sounds t me like just the menu file is missing. I am in Abu Dhabi right now and don't have access to my machine. Can you please try to start the application from a terminal and see what output you get?

If something like: xgames command doesn't work from the terminal the correct command should be revealed by typing this: grep bin /var/log/packages/xgames-0.3-x86_64-4*
How do i become super user?
Wear your underpants on the outside and put on a cape.

Bogomips
Full of knowledge
Full of knowledge
Posts: 2522
Joined: 25 Jun 2014, 15:21
Distribution: 3.2.2 Cinnamon & KDE5
Location: London

Re: Installing software

Post#14 by Bogomips » 21 Dec 2014, 15:08

linuxtothebone wrote:thanks again everyone, below is the output of fdisk -l if that is still relevant.(sorry I dont know how to put the output into an embedded form with a scroll bar)

Code: Select all

Click on 'Code' above, and "[code]<paste in here>
" :)[/code]
linuxtothebone wrote:Hi there, I use linux mint so its pretty retard friendly.
Btw Mint forums not to be sniffed at. Brought self up to date on them. There is a lot of basic Linux specific info to be gleaned there, especially as they've had to deal with a flood of XP refugees :wink:
Linux porteus 4.4.0-porteus #3 SMP PREEMPT Sat Jan 23 07:01:55 UTC 2016 i686 AMD Sempron(tm) 140 Processor AuthenticAMD GNU/Linux
NVIDIA Corporation C61 [GeForce 6150SE nForce 430] (rev a2) MemTotal: 901760 kB MemFree: 66752 kB

linuxtothebone
Black ninja
Black ninja
Posts: 36
Joined: 17 Dec 2014, 00:25
Distribution: mint, porteus
Location: newzealand

Re: Installing software

Post#15 by linuxtothebone » 25 Dec 2014, 09:03

brokenman

thanks yes that worked using the - grep bin /var/log/packages/xgames-0.3-x86_64-4* command
guest@porteus:~$ grep bin /var/log/packages/xgames-0.3-x86_64-4*

usr/bin/
usr/bin/xminesweep
usr/bin/xcuckoo
usr/bin/xroach
usr/bin/xlander
usr/bin/maze
usr/bin/xsnow
usr/bin/spider
usr/bin/xcolormap
usr/bin/xneko

why was there no icon or even games menu created is that because this distro is relatively young and still being refined? is there a way to rectify this if I encounter the same issue with future non core software installations? at the moment I am going to try installing thunderbird... Ill keep you posted


Bogomips

Thanks for the info, dont worry I dont think mint sux, its linux... there is an exception to this, I do think ubuntu and the whole unity thing is complete crap and has totally moved away from the central linux design tenets. Mint is however very easy to use for people new to linux, its quick to learn and a good transition from windoze. I do think with all its good points it has become a bit bloated. This is why I really like porteus it has massive potential because it is sticking to the basics and is relatively straight forward I think in time it will mature and hopefully not move away from its core purpose and if it does hopefully still retain a straight forward version. I mean no disrespect to mint or linux at all except ubuntu

Post Reply