How to remove files to add space to root

All Gurus once were Newbies
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read how to get help
bradrar
Level 2
Level 2
Posts: 54
Joined: Sun Aug 19, 2018 2:48 am

[SOLVED] Re: How to remove files to add space to root

Post by bradrar »

Pepi wrote:
Thu Feb 07, 2019 9:29 am
bradrar wrote:
Thu Feb 07, 2019 8:54 am
Moem wrote:
Thu Feb 07, 2019 8:50 am

That's what I'm thinking, too.
Should I reinstall my linux mint and make it 40GB?
If doing that is not a big issue for you then I would say YES With 12 gb you're running out of gas
Okay, I did 12gb to try out linux. I am liking it anyway so now I will dedicated my time with it. :D
Last edited by bradrar on Fri Feb 08, 2019 11:24 am, edited 1 time in total.

User avatar
Moem
Level 20
Level 20
Posts: 10668
Joined: Tue Nov 17, 2015 9:14 am
Location: The Netherlands
Contact:

Re: How to remove files to add space to root

Post by Moem »

Do you mean instructions on how to use GParted? It's pretty easy, have you tried it?
Be careful though, it's a powerful tool, meaning that you can wreck your system if you are impatient or careless. Make a backup before you start.

I could do a search for a manual, but you can do that just as easily.
Image

If your issue is solved, kindly indicate that by editing the first post in the topic, and adding [SOLVED] to the title. Thanks!

Hoser Rob
Level 16
Level 16
Posts: 6080
Joined: Sat Dec 15, 2012 8:57 am

Re: How to remove files to add space to root

Post by Hoser Rob »

bradrar wrote:
Thu Feb 07, 2019 8:41 am

Code: Select all

$ sudo dpigs
sudo: dpigs: command not found
$ sudo dpigs -n 12
sudo: dpigs: command not found
Why is it saying command not found? Did I delete some important package or something?
YOu have to install debian-goodies to get it, as I said before.

gm10
Level 20
Level 20
Posts: 11000
Joined: Thu Jun 21, 2018 5:11 pm

Re: How to remove files to add space to root

Post by gm10 »

bradrar wrote:
Thu Feb 07, 2019 8:57 am
I thought I deleted wine? Why is it there? also, Spotify is not On right now. Is that normal?
Apparently you didn't.

Code: Select all

apt purge --autoremove "wine*"
I'm not sure what you are asking about Spotify.
Hoser Rob wrote:
Fri Feb 08, 2019 8:06 am
YOu have to install debian-goodies to get it, as I said before.
Or just use existing tools:

Code: Select all

dpkg-query -W -f '${Installed-Size} ${Package}\n'|sort -rn|head -n20

User avatar
pbear
Level 11
Level 11
Posts: 3987
Joined: Wed Jun 21, 2017 12:25 pm
Location: San Francisco

Re: [SOLVED] Re: How to remove files to add space to root

Post by pbear »

bradrar wrote:
Fri Feb 08, 2019 7:14 am
Okay, I did 12gb to try out linux. I am liking it anyway so now I will dedicated my time with it. :D
Psst, if you regard the thread as "Solved," it's the title of the first post you need to edit, as that's the one indexed on the main page.
Time flies like an arrow. Fruit flies like a banana.
If your problem has been solved, please edit the thread title.

hcentaur13
Level 4
Level 4
Posts: 463
Joined: Sat May 18, 2013 5:13 pm

Re: How to remove files to add space to root

Post by hcentaur13 »

May be:
You can shring a neighbour partition and give the free space to the partition / is mounted on.

You may buy a new drive, create one or more partitions on it and move one or more directory tress onto it.
Then mount the partition into the directory its conent is moved away.

Read the doku:
man fstab
man mount
man umount
man mounpoint

Nothing in the directory you moves its content can be in use while it gets moved! and the mountpoint is created.

A directory can be made a mountpoint by
- mount the partition that should contain the content of the directory
- move recursively the content of the directoory into the new partition
- unmount the temporary mountpoint
- create the new mountpoint with the old directory name
-

Post Reply

Return to “Newbie Questions”