LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 03-18-2023, 06:32 PM   #16
youni
LQ Newbie
 
Registered: Mar 2023
Posts: 27

Original Poster
Rep: Reputation: 11

Quote:
Originally Posted by veeall View Post
I do like it leaner, so i 'removepkg' applications i never use or for which i'm using alternatives. Following is my personal uninstall list in 15.0:
I followed your advice, but now xfce does not work. I did this

Next has broken my system. Some Xfce4 functions do not work after this

Code:
#remove heavy packages:
removepkg seamonkey mozilla-thunderbird

#remove unnecessary stuff
removepkg samba speech-dispatcher nfsd cups dovecot httpd

#remove games:
removepkg ksirk konquest klines knetwalk kmines klickety kjumpingcube killbots katomic picmi rocs knavalbattle kpat kubrick ksudoku kdiamond khangman kanagram blinken lskat ksquares kreversi knights kmahjongg kiriki kigo kfourinline kblackbox bovo kspaceduel ksnakeduel kollision kolf kgoldrunner kbreakout kbounce kblocks kapman granatier bomber filelight kdf kshisen xsnow windowmaker xaos xgames gnuchess nethack

#remove educational apps:
removepkg kalzium kstars cantor kalgebra step minuet kturtle ktouch kgeography kmplot kbruch parley kwordquiz kiten artikulate kig analitza alkimia kdeedu-data kdiagram

#remove kde and  kde tools 
removepkg  krusader kdfkteatime kalarm bitinerary kfloppy kjots ktimer ktimetracker kopete konversation krdc krfb ktnef sieveeditor kamoso kid3 kmymoney akregator pim-sieve-editor kget kmail-account-wizard kmail cervisia  kcontacts kde-dev-scripts kde-dev-utils kdepim-addons kdepim-runtime kdesdk-kioslaves kdesdk-thumbnailers kdesignerplugin kdev-php kdev-python kdevelop kdevelop-pg-qt kapptemplate kirigami-gallery korganizer kruler kdeconnect-kde calligraplan calligra zanshin kile kaddressbook kontact kontactinterface lokalize kontrast kcachegrind krita kimagemapeditor kbackup kmag kmousetool khelpcenter knotes sweeper kleopatra bsd-games

#remove plasma
removepkg plasma-sdk 

#remove tools
removepkg latte-dock pidgin xmms gkrellm pan xine-ui xpaint xscreensaver gucharmap hplip skanlite xsane xfig dragon easytag digikam grantlee-editor pim-data-exporter kitinerary itinerary twm yakuake hexchat fcitx fcitx-anthy fcitx-configtool fcitx-hangul fcitx-kkc fcitx-libpinyin fcitx-m17n fcitx-qt5 fcitx-sayura fcitx-table-extra fcitx-table-other fcitx-unikey greybird kcm-fcitx konqueror tigervnc umbrello soma tumbler garcon exo akonadi-import-wizard v4l-utils

#remove system tools
removepkg blackbox fluxbox fvwm geeqie

#remove xfce4 tools (i use xfce4)
removepkg libxfce4ui-2 xfce4-panel-profiles xfce4-screensaver xfce4-whiskermenu-plugin xfce4-clipman-plugin xfce4-dev-tools  xfce4-weather-plugin
Code:
#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.
Attached Thumbnails
Click image for larger version

Name:	no-applets.jpg
Views:	27
Size:	257.8 KB
ID:	40637  

Last edited by youni; 03-18-2023 at 06:33 PM.
 
Old 03-18-2023, 06:51 PM   #17
youni
LQ Newbie
 
Registered: Mar 2023
Posts: 27

Original Poster
Rep: Reputation: 11
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?

Last edited by youni; 03-18-2023 at 06:52 PM.
 
Old 03-18-2023, 06:56 PM   #18
rizitis
Member
 
Registered: Mar 2009
Location: Greece,Crete
Distribution: Slackware64-current, Slint
Posts: 645

Rep: Reputation: 491Reputation: 491Reputation: 491Reputation: 491Reputation: 491
try
Code:
slackpkg update;slackpkg upgrade-all
slackpkg reinstall xfce4
 
2 members found this post helpful.
Old 03-18-2023, 07:11 PM   #19
ethelack
Member
 
Registered: Mar 2021
Location: New Zealand
Distribution: Slackware
Posts: 81

Rep: Reputation: Disabled
Here's a previous post how to use slackpkg templates to achieve a minimal system with fluxbox/fvwm window managers of size 4.5G

slackpkg templates fluxbox/fvwm

After applying the templates if you want to add the xfce window manager just uncomment a mirror in /etc/slackpkg/mirror and run

Code:
slackpkg update gpg
slackpkg update
slackpkg install xfce
You'll need to head over to sbopkg.org to download sbopkg so you can build and install slim

sbopkg has these dependencies (install using slackpkg)
Code:
slackpkg install  rsync lz4 xxHash curl
Code:
cd Downloads
installpkg sbopkg*
sqg -p slim
sbopkg -i slim

To be able to compile slim you will need these packages from the "D" series (install using slackpkg)
Code:
slackpkg install autoconf automake binutils bison dev86 flex gcc gcc-g++ gettext-tools kernel-headers libtool llvm m4 make parallel perl strace
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

geeqie requires ffmpegthumbnailer

irssi requires utf8proc

hexchat requires gtk+ gtk+2 gtk+3 gtk4 libcanberra

'alsamixer' sound configuration requires alsa-lib alsa-oss alsa-plugins alsa-utils orc speexdsp

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.
 
Old 03-18-2023, 07:21 PM   #20
LuckyCyborg
Senior Member
 
Registered: Mar 2010
Posts: 3,508

Rep: Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329
Quote:
Originally Posted by youni View Post
How to check xfce4 dependencies?
I've told ya!

Quote:
Originally Posted by youni View Post
Please, advice something to restore Xfce4?
Do a clean full install of Slackware and don't dare to touch removepkg on the next 10 years or so.

Last edited by LuckyCyborg; 03-18-2023 at 07:28 PM.
 
1 members found this post helpful.
Old 03-18-2023, 07:30 PM   #21
lostintime
Member
 
Registered: Dec 2021
Posts: 192

Rep: Reputation: Disabled
Quote:
Please, advice something to restore Xfce4?
The Xfce packages are provided in the ISO /slackware64/xfce package set. The following command will restore those packages:

Code:
upgradepkg --install-new /slackware64/xfce/*.txz
I hope that helps.
 
Old 03-18-2023, 07:34 PM   #22
LuckyCyborg
Senior Member
 
Registered: Mar 2010
Posts: 3,508

Rep: Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329
Quote:
Originally Posted by ethelack View Post
Here's a previous post how to use slackpkg templates to achieve a minimal system with fluxbox/fvwm window managers of size 4.5G
Or you can install openSUSE and you will get Plasma5 in 3,5GB ...

Kubuntu do the trick too.

Last edited by LuckyCyborg; 03-18-2023 at 07:39 PM.
 
Old 03-18-2023, 07:36 PM   #23
LuckyCyborg
Senior Member
 
Registered: Mar 2010
Posts: 3,508

Rep: Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329
Quote:
Originally Posted by lostintime View Post
The Xfce packages are provided in the ISO /slackware64/xfce package set. The following command will restore those packages:

Code:
upgradepkg --install-new /slackware64/xfce/*.txz
I hope that helps.
IF the dependencies are solved - and in lovely style of our BDFL, the dependencies are spread everywhere.

I for one I will recommend:
Code:
upgradepkg --install-new --reinstall /slackware64/*/*.txz
 
Old 03-18-2023, 07:43 PM   #24
lostintime
Member
 
Registered: Dec 2021
Posts: 192

Rep: Reputation: Disabled
@LuckyCyborg

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.
 
8 members found this post helpful.
Old 03-18-2023, 07:57 PM   #25
LuckyCyborg
Senior Member
 
Registered: Mar 2010
Posts: 3,508

Rep: Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329
Quote:
Originally Posted by lostintime View Post
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 View Post
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.
 
Old 03-18-2023, 08:02 PM   #26
lostintime
Member
 
Registered: Dec 2021
Posts: 192

Rep: Reputation: Disabled
Quote:
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.
 
2 members found this post helpful.
Old 03-18-2023, 08:19 PM   #27
youni
LQ Newbie
 
Registered: Mar 2023
Posts: 27

Original Poster
Rep: Reputation: 11
Quote:
Originally Posted by LuckyCyborg View Post
IF the dependencies are solved - and in lovely style of our BDFL, the dependencies are spread everywhere.

I for one I will recommend:
Code:
upgradepkg --install-new --reinstall /slackware64/*/*.txz
I repaired Xfce4 installing all necessary packages
Downloaded all txz from here https://mirrors.slackware.com/slackw...ckware64/xfce/
And installed with
Code:
upgradepkg --install-new --reinstall /home/user/Downloads/*.txz
Now everything works.

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?
 
1 members found this post helpful.
Old 03-18-2023, 08:22 PM   #28
youni
LQ Newbie
 
Registered: Mar 2023
Posts: 27

Original Poster
Rep: Reputation: 11
size of Slackware

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.
 
Old 03-18-2023, 08:46 PM   #29
lostintime
Member
 
Registered: Dec 2021
Posts: 192

Rep: Reputation: Disabled
Quote:
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.
 
4 members found this post helpful.
Old 03-18-2023, 09:19 PM   #30
ZhaoLin1457
Senior Member
 
Registered: Jan 2018
Posts: 1,024

Rep: Reputation: 1213Reputation: 1213Reputation: 1213Reputation: 1213Reputation: 1213Reputation: 1213Reputation: 1213Reputation: 1213Reputation: 1213
Quote:
Originally Posted by youni View Post
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.

https://download.liveslak.org/1.6.0/...ce-current.iso

This system has about 2.5GB installed, and after updates it reaches about 3.5GB, but be warned that there are many things you cannot do with it.

Last edited by ZhaoLin1457; 03-18-2023 at 10:02 PM.
 
1 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Slackware remove unnecessary packages dalacor Slackware 19 03-19-2023 05:59 PM
[SOLVED] how to use 'apt-get autoremove' to remove unnecessary packages Gregg Bell Linux - Newbie 6 12-05-2014 01:44 AM
Ubuntu Netbook - remove all unnecessary packages to run a server role fantasygoat Linux - Server 5 11-25-2010 12:55 PM
remove unnecessary contents divyashree Linux - Newbie 4 06-15-2009 06:20 AM
Remove unnecessary packages on a Fedora 10 install Roflcopter Linux - Software 5 04-12-2009 11:01 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 07:23 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration