Is there manual how to remove unnecessary stuff from Slackware?
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
#do not remove
juk - player
elisa - player
ibus - dont know if i can remove if i use xorg, xfce and dm
gwenview - still did not install better alternative
joe - text editor
audacious audacious-plugins - players
xpdf - do not remove while did not find alternative
thunar - native file manager
mousepad - native text editor
emacs, emacspeak - native gnu text editor
xfce - i use this DE
falkon - browser
QtAV - multimedia
nmap - not sure i can remove it
kwave - will not remove while have no alternative like audacity
wpa_supplicant - not sure i can remove it
thunar-volman - still use thunar
xfce4-notifyd - i use fameshot and i think i need this
xfce4-panel - i use xfce4
xfce4-power-manager xfce4-pulseaudio-plugin xfce4-screenshooter xfce4-session xfce4-settings xfce4-systemload-plugin xfce4-taskmanager xfce4-terminal xfdesktop xfconf xfwm4 - still use xfce
ibus-anthy ibus-hangul ibus-kkc ibus-libpinyin ibus-m17n ibus-table ibus-unikey vim-gvim - not sure i do not use it
Code:
#now xfce4 does not work
xfce4-panel -r
xfce4-panel: error while loading shared libraries: libxfce4ui-2.so.0: cannot open shared object file: No such file or directory
#https://slackware.pkgs.org/15.0/slackware-x86_64/libxfce4ui-4.16.1-x86_64-1.txz.html
installpkg /home/user/Downloads/libxfce4ui-4.16.1-x86_64-1.txz
#panel works now
#now applets do not work
Plugin "Applications Menu" unexpectedly left the panel, do you want to restart it?
https://slackware.pkgs.org/15.0/slackware-x86_64/xfce4-panel-profiles-1.0.13-x86_64-1.txz.html
installpkg /home/user/Downloads/xfce4-panel-profiles-1.0.13-x86_64-1.txz
reboot
#still not solved
Please, advice something to restore Xfce4? Some applets work like time, networkmanager. And all others do not work like windows, applications, launchers. also xfcse4-screenshot does not react on printscreen.
Please, advice something to restore Xfce4? Some applets work like time, networkmanager. And all others do not work like windows, applications, launchers. also xfcse4-screenshot does not react on printscreen.[/QUOTE]
I tried to run screenshooter and got error:
Code:
xfce4-screenshooter
xfce4-screenshooter: error while loading shared libraries: libexo-2.so.0: cannot open shared object file: No such file or directory
https://slackware.pkgs.org/15.0/slackware-x86_64/exo-4.16.3-x86_64-1.txz.html
installpkg /home/user/Downloads/exo-4.16.3-x86_64-1.txz
#it was wrong to remove exo
xfce4-screenshooter
#works now
#but Application menu still cannot work
How to check xfce4 dependencies? is it necessary to have xfce4-panel-profiles or I can configure panel without it?
Configuring the network run 'netconfig' and select either Static IP or DHCP it will disable NetworkManager and enable /etc/rc.d/inet1.conf
Note for static and dhcp you will have to provide a DNS name server address in /etc/resolv.conf such as:
nameserver 8.8.8.8
nameserver 8.8.4.4
The following dependencies apply:
firefox since 104 requires the wayland and libXtst packages
firefox requires these packages to play reddit and youtube videos
opus opus-tools opusfile libopusenc lame ffmpeg ocl-icd libtheora libvpx speex libwebp openjpeg
slackpkg and slackpkg++ require gnupg, ca-certificates, perl, openssl-solibs openssl
If any program fails to run because of a missing library just run it in terminal the output will provide the library name
you can use "slackpkg file-search <library name>" to obtain the name of the missing package that needs to be installed.
You are a smart person and possess skills and knowledge. At times you have contributed useful information in this forum. Yet once upon a time you too were a noob. You did not gain those skills and experience without stubbing toes and making mistakes. Just about every single person in this forum has experienced learning episodes like those now being shared by the OP. This is how people learn. OP is being patient and is trying to learn something about Slackware.
You act as though because you have grown beyond noob status that you have standing to belittle and berate people who lack similar skills and knowledge.
Such an attitude is not needed in this forum. Slackware is these days a niche distro and needs helpful people and not the opposite. Please leave the pompous soap box aside and try to teach and help or say nothing at all.
Quote:
IF the dependencies are solved - and in lovely style of our BDFL, the dependencies are spread everywhere.
So berate Pat too?
The command I provided the OP is a starting point. Since the OP is wanting to learn how to remove unwanted packages, the command will resolve most and possibly all of the missing Xfce packages. Some packages that reside in the l set of packages might be missing but OP's list of removed packages does not seem to include any.
Last edited by lostintime; 03-18-2023 at 07:46 PM.
You act as though because you have grown beyond noob status that you have standing to belittle and berate people who lack similar skills and knowledge.
I'm not "though" but on contrary, from my own experience I have told to OP to do a full install and call a day.
Slackware, like any collection of software, HAS software dependencies and they aren't described ANYWHERE.
This transform Slackware in a beast really hard to tame regarding packages customization.
Additionally, there's NOT the friendly big brother apt-get or zypper to tell you that you can't remove a particular package.
Quote:
Originally Posted by lostintime
So berate Pat too?
Absolutely NOT. According with no one else than our BDFL, the packages series are meaningless and just some historical remains.
So, you can't use them as "dependency resolution" because they aren't supposed to be used this way. And trust me that they can't be used this way.
Last edited by LuckyCyborg; 03-18-2023 at 08:04 PM.
Additionally, there's NOT the friendly big brother apt-get or zypper to tell you that you can't remove a particular package.
True, and OP is trying to learn how to manage such a distro. Several experienced people who have used Slackware for many years know how to manage packages without dependency checking. There is no reason OP can't learn those tricks.
The way you continually belittle and berate people is growing old.
Quote:
So, you can't use them as "dependency resolution" because they aren't supposed to be used this way.
I never wrote that. I only wrote where to find the missing Xfce packages.
Last edited by lostintime; 03-18-2023 at 08:04 PM.
It was mistake to remove Greybird. It was a mistake to remove xfce4 components xfce4-panel-profiles xfce4-screensaver xfce4-whiskermenu-plugin xfce4-clipman-plugin xfce4-dev-tools xfce4-weather-plugin
But may be Slackware has no strength dependencies on those components?
I am not figuring out how to count how heavy my slackware is?
Code:
# mount | grep sda
/dev/sda4 on / type ext4 (rw)
/dev/sda1 on /boot/efi type vfat (rw)
bash-5.1#
bash-5.1# df -h /dev/sda4
Filesystem Size Used Avail Use% Mounted on
devtmpfs 12G 0 12G 0% /dev
I repaired Xfce4 installing all necessary packages
Good job!
Quote:
It was a mistake to remove xfce4 components
Well, "mistakes" are valuable to help us learn. I have made many "mistakes" in my life and in hindsight few of those "mistakes" are filled with regret. Most of my "mistakes" helped me learn and become more skilled and knowledgeable. I am guessing this experience has helped you too.
Quote:
But may be Slackware has no strength dependencies on those components?
Slackware is designed intentionally not to provide package dependency checking. Most Slackware users prefer this design and do not want automated package dependency resolution. Browse the forums for related discussions.
Because of this lack of automated resolution checking, the common advice for new Slackware users is to perform a full install. This is cautious advice, but if the user is sufficiently experienced and skilled with computers then removing packages is not difficult. Just use some common sense and add some willingness to learn. I have many times removed packages in a test environment just to see what breaks and I have learned from that.
Quote:
It was 14G before my removings.
Removing the unwanted packages saved 2 GB of drive space. Perhaps that does not sound like much, but remember that removing the packages reduces clutter in your panel menu.
Quote:
I am not figuring out how to count how heavy my slackware is?
I do not have any fresh stock 15.0 systems available to let you know how much drive space is used. I have a Current virtual machine (VM) with several SBo packages added. The system partition is using about 18 GB of disk space.
At this point you restored your system and also removed unwanted packages. Time to step outside and if possible, enjoy the sun setting.
I am not figuring out how to count how heavy my slackware is?
Code:
# mount | grep sda
/dev/sda4 on / type ext4 (rw)
/dev/sda1 on /boot/efi type vfat (rw)
bash-5.1#
bash-5.1# df -h /dev/sda4
Filesystem Size Used Avail Use% Mounted on
devtmpfs 12G 0 12G 0% /dev
i know /usr is most heavy folder
Code:
du -sh /usr
12G /usr
It was 14G before my removings.
If you simply want to reduce the installed size of the system, I don't think it's worth the hassle. As you can see, you have saved 2GB, with all this hassle so far.
As experienced people like @LuckyCyborg, @hitest, @Daedra, @enorbet and @ponce have recommended, probably the easiest and simplest for you is to do a full installation. After all, there is no glory in using a partial installation.
If you really want a minimalist Slackware installation, with only an XFCE desktop and essential applications, probably the simplest is to install a LiveSlak XFCE created by Mr. Hameleers.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.