You are not logged in.

#1 2022-01-22 15:36:43

Pezhman
Member
Registered: 2022-01-19
Posts: 63

[SOLVED]How to remove unneccesery packages

Hello everyone
I recentrly switched to archlinux from ubuntu

I've heard that archlinux is lightweight but now after installing my applications I have 938 packages(is it a lot or not?)
How to remove junk and speed up my system

In used to use sudo apt autoremove but I do not know how to do this in pacman.
generally how to free up space

Last edited by Pezhman (2022-01-22 16:09:32)

Offline

#2 2022-01-22 15:38:39

ishaanbhimwal
Member
Registered: 2022-01-21
Posts: 48
Website

Re: [SOLVED]How to remove unneccesery packages

https://wiki.archlinux.org/title/Pacman/Rosetta

Pezhman wrote:

Hello everyone
In used to use sudo apt autoremove but I do not know how to do this in pacman.
generally how to free up space

sudo pacman -Rs $(pacman -Qtdq)  

Last edited by ishaanbhimwal (2022-01-22 16:30:30)

Offline

#3 2022-01-22 15:40:06

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,732
Website

Re: [SOLVED]How to remove unneccesery packages

alias orphans='[[ -n $(pacman -Qdt) ]] && sudo pacman -Rs $(pacman -Qdtq) || echo "no orphans to remove"'

Offline

#4 2022-01-22 15:49:33

Pezhman
Member
Registered: 2022-01-19
Posts: 63

Re: [SOLVED]How to remove unneccesery packages

Thank you so much
with this alias I removed 18 packages and now I have 910 packages
Is this enough or I should try to remove more packages??
910 packages are a lot??

Offline

#5 2022-01-22 15:55:44

Head_on_a_Stick
Member
From: The Wirral
Registered: 2014-02-20
Posts: 9,003
Website

Re: [SOLVED]How to remove unneccesery packages

Pezhman wrote:

I've heard that archlinux is lightweight

Whoever told you that is either lying or ignorant.

Pezhman wrote:

How to remove junk and speed up my system

Having a large number of packages installed will not necessarily slow down your system.

Read https://wiki.archlinux.org/title/Improving_performance and follow the advice given therein.

Pezhman wrote:

910 packages are a lot?

Well it's more than my system but why is that important? If you actually have a use for those packages then removing them just to get the numbers down seems a bit silly.


Jin, Jîyan, Azadî

Offline

#6 2022-01-22 16:00:01

loqs
Member
Registered: 2014-03-06
Posts: 18,984

Re: [SOLVED]How to remove unneccesery packages

Head_on_a_Stick wrote:
Pezhman wrote:

I've heard that archlinux is lightweight

Whoever told you that is either lying or ignorant.

https://archlinux.org/

A simple, lightweight distribution

Sorry,  could not resist.

Offline

#7 2022-01-22 16:02:14

Head_on_a_Stick
Member
From: The Wirral
Registered: 2014-02-20
Posts: 9,003
Website

Re: [SOLVED]How to remove unneccesery packages

^ Lol. Can I submit a bug report for that? tongue


Jin, Jîyan, Azadî

Offline

#8 2022-01-22 16:04:06

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,729

Re: [SOLVED]How to remove unneccesery packages

Arch is what you make of it. It can be somewhat lightweight because you start from almost nothing, but without the massive package splitting of other distros, it's hard to call it lightweight.

Offline

#9 2022-01-22 16:07:35

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,096

Re: [SOLVED]How to remove unneccesery packages

Hey, the firmware just got split - ~500MB weight loss is more than most other people manage in the NY resolutions… tongue

Offline

#10 2022-01-22 16:09:06

Pezhman
Member
Registered: 2022-01-19
Posts: 63

Re: [SOLVED]How to remove unneccesery packages

Thanks everyone
Thank you "Head_on_a_Stick" for archwiki link
[SOLVED]

Offline

#11 2022-01-22 17:46:03

cowlick
Banned
Registered: 2013-10-13
Posts: 73

Re: [SOLVED]How to remove unneccesery packages

I like to use bleachbit at least once a week.


DELL Inspiron 14-3452, 32GB emmc, 4 GB RAM

Offline

#12 2022-01-22 18:22:19

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,690

Re: [SOLVED]How to remove unneccesery packages

cowlick wrote:

I like to use bleachbit at least once a week.

Hillary? 

In any event, not sure how that helps with the question at hand.  Closing this solved thread.

Pezhman, if you would like it re-opened in the future, use the report link ans ask the moderators to do so.

Thanks.


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

Board footer

Powered by FluxBB