"-dev" shotgun approach ?

7 respostas [Última entrada]
Patrick Mc(avery
Desconectado
Joined: 08/15/2011

Hi Everyone

I seem to always be missing some library. I was thinking about making a
shell script that would just install all the development packages.

Is this insane? Any nasty side effects?

Thanks for reading-Patrick

tash
Desconectado
Joined: 09/20/2010

apt-get install *-dev*
or
apt-get install *-dev

tash
Desconectado
Joined: 09/20/2010

Under just risk *lol*

Patrick Mc(avery
Desconectado
Joined: 08/15/2011

On 12-02-01 08:02 PM, name at domain wrote:
> Under just risk *lol*
>
Thanks

Actually I tried something similar and it won't just install the -dev
package but the packages related to it. It looks like it might install
much of the repository.

Is there a way to force only one package to be installed and for it's
dependencies to be ignored?

I was thinking about switching to Arch at one point due to all the -dev
searching, I really do love Trisquel thoug and a little shell script
might solve this.

Telstar
Desconectado
Joined: 08/17/2011

What I used to do was download the .deb, type dpkg -i package.deb and if it fails, I'd aptitude it's dependencies. apt-get -f install or --fix-missing might also do the trick,
but if you have a more sophisticated way in mind, please share it:)

"I was thinking about switching to Arch"
Well you're free to do so, but you might want to check out Parabola GNU/Linux. It's like Arch, but ./configure --enable-freedom ;)

Patrick Mc(avery
Desconectado
Joined: 08/15/2011

Thanks nowaman, Thanks magicbanana

The plot thickens, I've run out of space in my root partition. I'll
have to figure this out first before I can tell you if this insanity was
worth it :)

Magic Banana

I am a member!

I am a translator!

Desconectado
Joined: 07/24/2010

The 3405 *-dev* packages, which are in Dagda's repository, are for developing the applications whose name comes before "-dev". Do you modify most of the applications on your system?!? Of course, you could also reuse some libraries for your own developments... but thousands of libraries?!?

Telstar
Desconectado
Joined: 08/17/2011

i sometimes find useful to create a usr and var -folders in a separate partition with plenty of space, copy them from the original system partition and finally bind-mount these new folders.

in fstab:
/dev/sda# /mnt/hd 0 0
/mnt/hd/usr /usr none bind

if bind-mounting fail for any reason, it'll fall back to use originals in your system partition.