Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
packages [2018/02/14 04:03] – snacsnoc | packages [2025/03/01 05:49] (current) – snacsnoc | ||
---|---|---|---|
Line 1: | Line 1: | ||
===== Installing packages ====== | ===== Installing packages ====== | ||
+ | For a list of all packages available see: http:// | ||
+ | |||
'' | '' | ||
Update the packages list by running | Update the packages list by running | ||
- | fbpkg update | + | |
Search for packages | Search for packages | ||
- | fbpkg search tetris | + | |
Install a package | Install a package | ||
Line 24: | Line 26: | ||
===== Non-native ===== | ===== Non-native ===== | ||
+ | **Note**: It is easier to use pre-built toolchains from here: https:// | ||
+ | |||
**[[http:// | **[[http:// | ||
Line 70: | Line 74: | ||
make modules_install ARCH=x86_64 INSTALL_MOD_PATH=/ | make modules_install ARCH=x86_64 INSTALL_MOD_PATH=/ | ||
+ | ** dropbear 2022.82** | ||
+ | CC=i486-linux-musl-gcc CROSS_COMPILE=i486-linux-musl- ./configure --disable-zlib --host=i486-linux-musl --enable-static | ||
+ | CC=i486-linux-musl-gcc make PROGRAMS=" | ||
+ | | ||
+ | ** file 5.44 ** (perl is needed) | ||
+ | autoreconf -vfi | ||
+ | CC=i486-linux-musl-gcc CFLAGS=" | ||
+ | | ||
+ | ** gpm 1.20.7 ** | ||
+ | Needed patches: https:// | ||
+ | ./configure --prefix=/ | ||
===== Native ===== | ===== Native ===== | ||
- | **[[http:// | + | **[[http:// |
./configure --prefix=/ | ./configure --prefix=/ | ||
sh build.sh | sh build.sh | ||
- | ./make DESTDIR=/ | ||
- | **[[https:// | + | Currently a bug running ./make install |
- | ./configure --disable-zlib --disable-wtmp | + | |
+ | ./make DESTDIR=/ | ||
+ | So for now, the binary is just copied in a tarball | ||
+ | |||
+ | **[[https:// | ||
+ | ./configure --disable-zlib | ||
make PROGRAMS=" | make PROGRAMS=" | ||
cp dropbearmulti / | cp dropbearmulti / | ||
Line 91: | Line 110: | ||
dropbear | dropbear | ||
+ | **[[https:// | ||
+ | make CFLAGS=" | ||
+ | |||
+ | Example usage: ln -s / | ||
+ | |||
+ | |||
+ | ** [[http:// | ||
+ | | ||
+ | make | ||
+ | make DESTDIR=/ | ||
+ | |||
+ | |||
+ | ** [[http:// | ||
+ | make | ||
+ | make prefix=/ | ||
---- | ---- | ||
Line 123: | Line 157: | ||
- | ** [[http:// | + | ** [[http:// |
+ | See: https:// | ||
+ | wget http:// | ||
sed -i ' | sed -i ' | ||
# | # | ||
sed -i ' | sed -i ' | ||
+ | patch -p1 < lilo-geometry.patch | ||
make alles | make alles | ||
cp src/ | cp src/ | ||
Line 135: | Line 172: | ||
make | make | ||
make DESTDIR=/ | make DESTDIR=/ | ||
+ | #6.2 | ||
+ | #skip c++ checks | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | # fix install ownership | ||
+ | sed -i '/ | ||
+ | | ||
+ | make -C ncurses | ||
+ | # make symlink | ||
+ | ln -s / | ||
Line 167: | Line 217: | ||
make DESTDIR=/ | make DESTDIR=/ | ||
- | ** [[http:// | ||
- | make CC=" | ||
- | make prefix=/ | ||
** [[http:// | ** [[http:// | ||
Line 200: | Line 247: | ||
make DESTDIR=/ | make DESTDIR=/ | ||
- | ** [[http:// | ||
- | | ||
- | | ||
- | make DESTDIR=/ | ||
** [[http:// | ** [[http:// | ||
Line 211: | Line 254: | ||
** [[http:// | ** [[http:// | ||
- | Get this patch http:// | + | Get this patch http:// |
patch -p1 -i ./ | patch -p1 -i ./ | ||
| | ||
make | make | ||
make DESTDIR=/ | make DESTDIR=/ | ||
+ | Note: you may have to symlink runtime libs: | ||
+ | ln -sf /lib/crt1.o / | ||
+ | ln -sf /lib/crti.o / | ||
+ | ln -sf /lib/crtn.o / | ||
//Note: Use the ' | //Note: Use the ' | ||
Line 263: | Line 310: | ||
| | ||
- | **[[https:// | + | |
- | | + | |
- | + | ||
- | //Example usage: ln -s / | + | |
**[[http:// | **[[http:// | ||
Line 275: | Line 319: | ||
make DESTDIR=/ | make DESTDIR=/ | ||
</ | </ | ||
+ | |||
+ | | ||
+ | ./configure --prefix=/ | ||
+ | make CFLAGS=" | ||
+ | make DESTDIR=/ | ||
+ | | ||
+ | **[[https:// | ||
+ | ./configure --prefix=/ | ||
+ | make | ||
+ | make install MAN1DIR= MAN5DIR= MAN8DIR= DESTDIR=/ | ||
+ | | ||
+ | **[[https:// | ||
+ | | ||
+ | |||
+ | **[[http:// | ||
+ | gcc -static -s atlantic.c -o atlantic |