0

I need more disk space at /tmp and /usr folders. How will achieve this?

An error appeared:

root@kali:/home/Downloads# ./netbeans-8.1-linux.sh
Configuring the installer...
Cannot create temporary directory /tmp/.nbi-5055107.tmp
Morpheus
  • 107

1 Answers1

2

There's couple of ways you can go about this:

#1, remount /tmp with bigger size

As shown in Update failing. Not enough space on /tmp

sudo umount /tmp
sudo mount -t tmpfs -o size=16777216,mode=1777 overflow /tmp

That will give you 16 MB in/mpt . Adjust size= to how much you need

#2, make temporary directory in your home

$ mktemp -d -p $HOME                                                 
/home/xieerqi/tmp.zrBHbp0Yt0

That will make temporary directory in your $HOME folder, that means you can use as much space as you need

Sergiy Kolodyazhnyy
  • 105,154
  • 20
  • 279
  • 497