Reply
Thread Tools
Posts: 2,829 | Thanked: 1,459 times | Joined on Dec 2009 @ Finland
#51
Originally Posted by mece View Post
if you do that you might end up with the non-optified python again, making the whole exercise pointless. I might be wrong though. Install, for example fm radio from extras first, to get python set up properly. then enable whatever and install the rest.
So do you mean that i should install radio with apt-get? It work eventhought I have disabled repositories from app manager?
 
mece's Avatar
Posts: 1,111 | Thanked: 1,985 times | Joined on Aug 2009 @ Åbo, Finland
#52
Hm perhaps I should post it as a separate thread, make it easier to find.
__________________
Class .. : Meddler, Thread watcher, Developer, Helper
Humor .. : [********--] Alignment: Pacifist
Patience : [*****-----] Weapon(s): N900, N950, Metal music
Agro ... : [----------] Relic(s) : N95, NGage, Tamyia Wild One

Try Tweed Suit for your hardcore twittering needs
http://twitter.com/mece66
I like my coffee black, like my metal.
 
mece's Avatar
Posts: 1,111 | Thanked: 1,985 times | Joined on Aug 2009 @ Åbo, Finland
#53
Originally Posted by slender View Post
So do you mean that i should install radio with apt-get? It work eventhought I have disabled repositories from app manager?
FM Radio is in extras. And you should install it from app manager.
__________________
Class .. : Meddler, Thread watcher, Developer, Helper
Humor .. : [********--] Alignment: Pacifist
Patience : [*****-----] Weapon(s): N900, N950, Metal music
Agro ... : [----------] Relic(s) : N95, NGage, Tamyia Wild One

Try Tweed Suit for your hardcore twittering needs
http://twitter.com/mece66
I like my coffee black, like my metal.
 
Posts: 2,829 | Thanked: 1,459 times | Joined on Dec 2009 @ Finland
#54
Originally Posted by mece View Post
FM Radio is in extras. And you should install it from app manager.
I´m puzzled. In your message you listed that You could install for example fm radio to get new optified python after removing it from xterm, but that's not possible if you do not first enable repositories what you adviced to disable before removing python.

But thanks for this tip!
 
Posts: 5 | Thanked: 0 times | Joined on Dec 2009
#55
Originally Posted by mece View Post
For those who have installed python apps from testing or devel. The python in extras is now optified, which gives you a nice 20 megs extra in rootfs.

I had to manually remove some stuff to get it updated.

Here's what I did:

This will most likely remove some programs. You will see a list of what will be removed and asked to verify. Please note that you might not have the same programs installed as I did. FM Radio, Quicknote and Witter are a couple of python apps that will be removed.


in xterm as root:

apt-get remove python
apt-get remove python2.5
apt-get remove python-osso
apt-get autoremove
apt-get clean

now you should have much more space.

Install whatever programs that were removed. The new optified python libraries should be installed in the process.

Check with df -h that you see the opt mounts for python added to the list.
Thanks for advice, i have went from 45mb to 61.62 free.
 
ossipena's Avatar
Posts: 3,159 | Thanked: 2,023 times | Joined on Feb 2008 @ Finland
#56
Originally Posted by mece View Post
Hm perhaps I should post it as a separate thread, make it easier to find.
or visit

http://wiki.maemo.org

and put your instructions there

please

e: because at least one sees only the essential parts, links etc are pretty soon forgotten no matter if it is a thread here, wiki page or whatever.
__________________
Want to know something?
K.I.S.S. approach:
wiki category:beginners. Browse it through and you'll be much wiser!
If the link doesn't help, just use
Google Custom Search
 
mece's Avatar
Posts: 1,111 | Thanked: 1,985 times | Joined on Aug 2009 @ Åbo, Finland
#57
Originally Posted by ossipena View Post
or visit

http://wiki.maemo.org

and put your instructions there

please

e: because at least one sees only the essential parts, links etc are pretty soon forgotten no matter if it is a thread here, wiki page or whatever.
good idea. Perhaps it could be added to the sticky thread too.
__________________
Class .. : Meddler, Thread watcher, Developer, Helper
Humor .. : [********--] Alignment: Pacifist
Patience : [*****-----] Weapon(s): N900, N950, Metal music
Agro ... : [----------] Relic(s) : N95, NGage, Tamyia Wild One

Try Tweed Suit for your hardcore twittering needs
http://twitter.com/mece66
I like my coffee black, like my metal.
 
Posts: 3,617 | Thanked: 2,412 times | Joined on Nov 2009 @ Cambridge, UK
#58
Originally Posted by slender View Post
I´m puzzled. In your message you listed that You could install for example fm radio to get new optified python after removing it from xterm, but that's not possible if you do not first enable repositories what you adviced to disable before removing python.
Yes it is - FM radio is in extras, and he only advised disabling extras-devel and extras-testing.
 
Posts: 2,829 | Thanked: 1,459 times | Joined on Dec 2009 @ Finland
#59
Originally Posted by Rob1n View Post
Yes it is - FM radio is in extras, and he only advised disabling extras-devel and extras-testing.
So I can join group of people suffering some level of dyslexia.

Yes. I didnt pay attention. Sorry for that.
 
Posts: 716 | Thanked: 303 times | Joined on Sep 2009 @ Sheffield, UK
#60
I used the following script from one of the many root space threads on here:

Code:
#!/bin/ash

mkdir -p /home/root/usr/share
cd /usr/
for FILE in games include local src var
do
mv $FILE /home/root/usr/
ln -s /home/root/usr/$FILE /usr/
done

mkdir -p /home/root/var/cache
cd /var/cache/
for FILE in apt
do
mv $FILE /home/root/var/cache/
ln -s /home/root/var/cache/$FILE /var/cache/
done

cd /usr/share/
for FILE in fonts icons locale mime nokia-maps pixmaps sounds themes tutorial-applet zoneinfo
do
mv $FILE /home/root/usr/share/
ln -s /home/root/usr/share/$FILE /usr/share/
done

mkdir /home/root/usr/share/games
ln -s /home/root/usr/share/games .
It freed me up around 30MB space and if anything, Maemo Maps seems to load FASTER not slower (quite a lot faster). Although its the first time I loaded it since the firmware update so maybe that sped it up?

Lets not forget, the MMC might be faster for some things as its not using CPU power for compression. Its all a CPU power vs IO performance juggling act, hard to know which is going to be fastest.

Moving the apt cache alone makes a huge difference and its silly it wasting space on root. Just enabling extras-testing and extras-devel but not installing anything, should NOT eat root space. Although I guess its a good idea to disable extras-tests and extras-devel before doing a firmware update anyway, but it was silly I had to do it just to free enough space.
__________________
http://www.speedtest.net/result/877713446.png

My Websites
CSD Projects - Flickr - UAE4Maemo (UAE4All Compatibility List)

Favourite N900 Applications
Picodrive - UAE4All

Please post your UAE4All compatibility reports. Even better, post them to my UAE4Maemo site!
Not sure how UAE4All works such as mouse emulation? Read the FAQ.
 

The Following 4 Users Say Thank You to Alex Atkin UK For This Useful Post:
Reply

Tags
fremantle, maemo, maemo 5, n900, opt, optification, optify, root space, rootfs


 
Forum Jump


All times are GMT. The time now is 00:23.