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

Notices


Reply
  Search this Thread
Old 10-30-2015, 08:55 AM   #1
FredGSanford
Senior Member
 
Registered: Nov 2005
Location: USA
Distribution: Mageia 7 - Debian 10 - Artix Linux
Posts: 1,142
Blog Entries: 5

Rep: Reputation: 207Reputation: 207Reputation: 207
Can you delete /var/cache/apt-build/build directory?


Is it okay to remove the /apt-build/build directory? There is a /apt-build/repository & build directories listed.

I have been playing around building some programs from sources. Maybe it would be better to burn them to a cd/dvd before deleting them, if that would be better?

Thnx.
 
Old 10-30-2015, 12:05 PM   #2
rtmistler
Moderator
 
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 9,882
Blog Entries: 13

Rep: Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930
Are you specifically building some code related to aptitude? If not, why even think about messing around with that directory. My thinking is that you build a program from source and install it into /usr/local/bin or /usr/local/sbin. The /var directory has nothing to do with that process.
 
Old 10-30-2015, 12:49 PM   #3
FredGSanford
Senior Member
 
Registered: Nov 2005
Location: USA
Distribution: Mageia 7 - Debian 10 - Artix Linux
Posts: 1,142

Original Poster
Blog Entries: 5

Rep: Reputation: 207Reputation: 207Reputation: 207
No. I use the apt-build command to build debian programs from source. The /var/cache/apt-build/build directory is where the programs are built inside. I would like to know if it's okay to remove the files inside once the apps are installed?
 
Old 10-30-2015, 02:10 PM   #4
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680

Rep: Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373
Does "apt-built clean" do it? I have to admit ignorance of this but when I want to clear my apt cache I use "apt-get clean" is I would ecpect similar.
 
1 members found this post helpful.
Old 10-30-2015, 02:25 PM   #5
FredGSanford
Senior Member
 
Registered: Nov 2005
Location: USA
Distribution: Mageia 7 - Debian 10 - Artix Linux
Posts: 1,142

Original Poster
Blog Entries: 5

Rep: Reputation: 207Reputation: 207Reputation: 207
@273, this is the command I was looking for, apt-build clean-build, some how I overlooked it in man apt-build.
Thanks all!
 
1 members found this post helpful.
Old 10-30-2015, 02:28 PM   #6
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680

Rep: Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373
You're welcome -- I think looking to the automation tool for answers is always a good first try.
 
  


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] Safe To Delete Build-Directory? Zssfssz Linux From Scratch 3 02-09-2012 04:52 AM
[SOLVED] Is it ok to delete everything in /var/cache/apt/archives? QueenZ Linux - Newbie 5 08-04-2010 01:08 PM
How to prevent apt from deleting packages in /var/cache/apt/archives ? abc.linux Debian 11 11-07-2009 11:46 AM
openSUSE 10: Samba failed to create the cache directory in /var/cache mianmajidali Linux - Server 0 05-09-2008 02:00 AM
cache folder like /var/cache/apt/packages on Debian Shaddy SUSE / openSUSE 0 08-13-2006 10:02 AM

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

All times are GMT -5. The time now is 11:05 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