Solong
Posts: 11
Joined: Fri Feb 13, 2015 3:20 pm

How to run an Installed Package

Mon Jan 18, 2016 10:22 am

This is probably a rather silly question, but how do you start a package on Raspbian Jessie?
I have installed OpenLP using apt-get (sudo apt-get install openLP), confirmed using dpkg that it is indeed installed (dpkg --status openLP) but now have no idea how to actually start the package running! It doesn't appear on the Raspbian desktop, not can I find it using Raspbian's Preferences|Add/Remove Software so I'm unable to start it from the desktop and I can't seem to find a CLI command to get the package going.
What am I doing wrong, and what do I do next?
As you can guess, I'm new to RPi/Linux though very familiar with Mac/PC/Mainframes

SonOfAMotherlessGoat
Posts: 690
Joined: Tue Jun 16, 2015 6:01 am

Re: How to run an Installed Package

Mon Jan 18, 2016 10:28 am

Code: Select all

openlp
doesn't work to start it from a command line?
Account Inactive

Solong
Posts: 11
Joined: Fri Feb 13, 2015 3:20 pm

Re: How to run an Installed Package

Mon Jan 18, 2016 10:35 am

I haven't managed to find a syntax to run it

SonOfAMotherlessGoat
Posts: 690
Joined: Tue Jun 16, 2015 6:01 am

Re: How to run an Installed Package

Mon Jan 18, 2016 10:37 am

What happens when you type 'openlp' at the command prompt? Do you get an error?
Account Inactive

Solong
Posts: 11
Joined: Fri Feb 13, 2015 3:20 pm

Re: How to run an Installed Package

Mon Jan 18, 2016 10:39 am

Yes. 4 lines commencing with the word File then
OSError: [Errno 28] No space left on device: '/home/pi/.cache/openlp'

SonOfAMotherlessGoat
Posts: 690
Joined: Tue Jun 16, 2015 6:01 am

Re: How to run an Installed Package

Mon Jan 18, 2016 10:53 am

What does the following code produce:

Code: Select all

df -h
Do you have space left on your storage medium? Did you expand the root parition?
Account Inactive

Solong
Posts: 11
Joined: Fri Feb 13, 2015 3:20 pm

Re: How to run an Installed Package

Mon Jan 18, 2016 11:09 am

df - h produces:
Filesystem size Used Avail Use% Mounted on
/dev/root 3.5G 3.4G 0 100% /
devtmpfs 459M 0 459M 0% /dev
tmpfs 463M 0 463M 0% /dev/shm
tmpfs 463M 6.4M 457M 2% /run
tmpfs 5.0M 4.0K 5.0M 1% /run/lock
tmpfs 463M 0 463M 0% /sys/fs/cgroup
/dev/mcblk0p1 60M 20M 41M 34% /boot
tmpfs 93M 4.0K 93M 1% /run/user/1000

Solong
Posts: 11
Joined: Fri Feb 13, 2015 3:20 pm

Re: How to run an Installed Package

Mon Jan 18, 2016 11:09 am

I have no idea how to expand the root partition or whether I could have done so accidentally

SonOfAMotherlessGoat
Posts: 690
Joined: Tue Jun 16, 2015 6:01 am

Re: How to run an Installed Package

Mon Jan 18, 2016 11:13 am

Solong wrote:df - h produces:
Filesystem size Used Avail Use% Mounted on
/dev/root 3.5G 3.4G 0 100% /
devtmpfs 459M 0 459M 0% /dev
tmpfs 463M 0 463M 0% /dev/shm
tmpfs 463M 6.4M 457M 2% /run
tmpfs 5.0M 4.0K 5.0M 1% /run/lock
tmpfs 463M 0 463M 0% /sys/fs/cgroup
/dev/mcblk0p1 60M 20M 41M 34% /boot
tmpfs 93M 4.0K 93M 1% /run/user/1000
What size SDCard do you have? You're out of space in your root partition (The / partition is 100% used).

Try running `sudo raspi-config` and the expand the root partition, it will ask you to reboot. That is if you have larger than a 4GB SDCard.
Account Inactive

Solong
Posts: 11
Joined: Fri Feb 13, 2015 3:20 pm

Re: How to run an Installed Package

Mon Jan 18, 2016 11:16 am

32G

drgeoff
Posts: 10831
Joined: Wed Jan 25, 2012 6:39 pm

Re: How to run an Installed Package

Mon Jan 18, 2016 11:16 am

You have indeed run out of space on the card.

If you installed Raspbian via NOOBS the file system will have been expanded automatically.

If you installed Raspbian by writing an image then you should have run sudo raspi-config from a command prompt or used one of the menu options in the GUI.
Quis custodiet ipsos custodes?

Solong
Posts: 11
Joined: Fri Feb 13, 2015 3:20 pm

Re: How to run an Installed Package

Mon Jan 18, 2016 11:19 am

ok, that's changed the root to 15G of which 3.4G is used 25%

Solong
Posts: 11
Joined: Fri Feb 13, 2015 3:20 pm

Re: How to run an Installed Package

Mon Jan 18, 2016 11:20 am

I installed from an image rather than Noobs - first lesson learnt!

Solong
Posts: 11
Joined: Fri Feb 13, 2015 3:20 pm

Re: How to run an Installed Package

Mon Jan 18, 2016 11:22 am

and, viola! openlp runs from the CLI - second lesson learnt. many thanks

SonOfAMotherlessGoat
Posts: 690
Joined: Tue Jun 16, 2015 6:01 am

Re: How to run an Installed Package

Mon Jan 18, 2016 11:29 am

And thanks for the pointer to a new package that I didn't know about. I think I may be able to use that here locally.
Account Inactive

drgeoff
Posts: 10831
Joined: Wed Jan 25, 2012 6:39 pm

Re: How to run an Installed Package

Mon Jan 18, 2016 11:33 am

Solong wrote:ok, that's changed the root to 15G of which 3.4G is used 25%
If your card is really 32 Gbyte, I would have expected the expanded root size to be much more than 15 Gbyte.
Quis custodiet ipsos custodes?

Solong
Posts: 11
Joined: Fri Feb 13, 2015 3:20 pm

Re: How to run an Installed Package

Mon Jan 18, 2016 11:38 am

Ah, mea culpa, I have the 16G in there, sorry

Return to “Beginners”